package cn.itrip.dao;


import cn.itrip.beans.pojo.ItripAreaDic;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ItripAreaDicMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ItripAreaDic record);

    int insertSelective(ItripAreaDic record);

    ItripAreaDic selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ItripAreaDic record);

    int updateByPrimaryKey(ItripAreaDic record);

    List<ItripAreaDic> selectByisChina(@Param("isChina") int isChina);

    List<ItripAreaDic> getAreaNameByHotelId(@Param("hotelId") Long hotelId);

    List<ItripAreaDic> getTreadeAreaByParent(@Param("parent") Long parent, @Param("isTradingArea") Long isTradingArea);
}